.class Lcom/waiqin365/lightapp/visit/co;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/view/ec;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/co;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 7

    const/4 v6, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/co;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;->f()Ljava/util/HashMap;

    move-result-object v4

    const-string/jumbo v0, "year"

    invoke-interface {v4, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const-string/jumbo v1, "month"

    invoke-interface {v4, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    const-string/jumbo v2, "day"

    invoke-interface {v4, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    const-string/jumbo v3, "hour"

    invoke-interface {v4, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    const-string/jumbo v5, "minute"

    invoke-interface {v4, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v5, "-"

    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "-"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, " "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ":"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/co;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;->g()J

    move-result-wide v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/co;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->g()J

    move-result-wide v2

    cmp-long v0, v0, v2

    if-lez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/co;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/co;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    move-result-object v1

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;->setValue(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/co;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/co;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    const v2, 0x7f080834

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v6}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/co;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;->h()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/co;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/co;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->b(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    move-result-object v1

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/view/DateViewHasClear_vertical;->setValue(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/co;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;)Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/co;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    const v2, 0x7f080833

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v6}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0
.end method
